package com.i72.governance.service.bean;

import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;
import org.springframework.stereotype.Component;

@Component
public class ConfigFlushEvent extends ApplicationEvent {

    private ApplicationContext applicationContext = null;
    private String config = null;
    public ConfigFlushEvent(ApplicationContext applicationContext){
        super(applicationContext);
        this.applicationContext = applicationContext;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public ApplicationContext getApplicationContext() {
        return applicationContext;
    }
}
